import Vue from 'vue'
import App from './App.vue'
import router from './router'
//router要在store上面  不然不能存数据
import store from './store'

Vue.config.productionTip = false

//引入style 初始样式要在插件之前引入
import './common/style/base.scss'

//引入icononp
import './common/iconfont/iconfont.css'

//引入vant
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

import stored from './router'

import config from '../vue.config'
//引入fastclick
import fastclick from 'fastclick'
// Vue.use(fastclick)

//引入滚动vue-scroller
import VueScroller from 'vue-scroller'
Vue.use(VueScroller)
//引入axios
import {require} from './network/axios'
Vue.prototype.$require=require

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')